package org.new9uy.tetris.model.tetrimino;

import org.new9uy.tetris.GameConstants;
import org.new9uy.tetris.model.Matrix;
import org.new9uy.tetris.model.Mino;

public class I 
    extends Tetrimino
{    
    public I(Matrix mtx)
    {
        super(
                new Mino[]
        {
            mtx.getMino(4, 20),
            mtx.getMino(5, 20),
            mtx.getMino(6, 20),
            mtx.getMino(7, 20)
        }, GameConstants.TETRIMINO_COLOR_I);
    }

    @Override
    public int numRotates()
    {
        return 2;
    }
}
